package com.sc.study.clazz.domain;

import com.sc.study.foundation.domain.ScSubject;
import com.sc.study.foundation.domain.ScSubjectTeacher;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sc.common.annotation.Excel;
import com.sc.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 班级科目对象 sc_clazz_subject
 * 
 * @author sc
 * @date 2022-02-27
 */
public class ScClazzSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 科目编号 */
    @Excel(name = "科目编号")
    private Long subid;

    /** 授课顺序 */
    @Excel(name = "授课顺序")
    private Long suborder;

    /** 剩余课时 */
    @Excel(name = "剩余课时")
    private Long subleftover;

    /** 班级编号 */
    @Excel(name = "班级编号")
    private Long clazzid;

    /** 科目 */
    private ScSubject scSubject;

    /** 班级 */
    private ScClazz scClazz;

    /** 能教改科目的所有老师 */
    private List<ScSubjectTeacher> scSubjectTeacherList;

    public List<ScSubjectTeacher> getScSubjectTeacherList() {
        return scSubjectTeacherList;
    }

    public void setScSubjectTeacherList(List<ScSubjectTeacher> scSubjectTeacherList) {
        this.scSubjectTeacherList = scSubjectTeacherList;
    }

    public ScClazz getScClazz() {
        return scClazz;
    }

    public void setScClazz(ScClazz scClazz) {
        this.scClazz = scClazz;
    }

    public ScSubject getScSubject() {
        return scSubject;
    }

    public void setScSubject(ScSubject scSubject) {
        this.scSubject = scSubject;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubid(Long subid) 
    {
        this.subid = subid;
    }

    public Long getSubid() 
    {
        return subid;
    }
    public void setSuborder(Long suborder) 
    {
        this.suborder = suborder;
    }

    public Long getSuborder() 
    {
        return suborder;
    }
    public void setSubleftover(Long subleftover) 
    {
        this.subleftover = subleftover;
    }

    public Long getSubleftover() 
    {
        return subleftover;
    }
    public void setClazzid(Long clazzid) 
    {
        this.clazzid = clazzid;
    }

    public Long getClazzid() 
    {
        return clazzid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subid", getSubid())
            .append("suborder", getSuborder())
            .append("subleftover", getSubleftover())
            .append("clazzid", getClazzid())
            .toString();
    }

    public ScClazzSubject() {
    }


    public ScClazzSubject(Long subid, Long suborder, Long subleftover, Long clazzid) {
        this.subid = subid;
        this.suborder = suborder;
        this.subleftover = subleftover;
        this.clazzid = clazzid;
    }
}
